#ifndef SWITCHWIDGET_H
#define SWITCHWIDGET_H

#include "mqttwidget.h"
#include "switchcontrol.h"


class SwitchWidget : public MqttWidget
{
    Q_OBJECT
public:
    explicit SwitchWidget(QWidget *parent = nullptr);
    ~SwitchWidget();
    void getMessage(QMQTT::Message mesage) override;

private:
    SwitchControl *mWidget;

};

#endif // SWITCHWIDGET_H
